﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhaoXi.MSACommerce.Consul.ServiceRegistrantion
{
    public class ServiceCheckConfiguration
    {
        /// <summary>
        /// 健 康 检 查 路 径
        /// </summary>
        public string Path { get; set; } = "/Health";

        /// <summary>
        /// 健 康 检 查 间 隔
        /// </summary>
        public int Interval { get; set; } = 1000;

        /// <summary>
        /// 超 时 时 间
        /// </summary>
        public int Timeout { get; set; } = 5000;

        /// <summary>
        /// 注 销 时 间
        /// </summary>
        public int Deregister { get; set; } = 5000;
    }
}
